
import request from '../utils/request';

/**
 *获取党员帮扶列表
 * @param params
 * @returns {Promise.<Object>}
 */

export async function support(params) {
  return request('/v1/member/member_help/lists',{
    method:'POST',
    body:params
  });
}

//查询组织
export async function organization(params) {
  return request('/v1/org/org/lists',{
    method:'POST',
    body:params
  });
}

//困难类型
export async function difficulty(params) {
  return request('/v1/dict/dict/get',{
    method:'POST',
    body:params
  });
}
//提交新增帮扶
export async function isOk(params) {
  return request('/v1/member/member_help/create',{
    method:'POST',
    body:params
  });
}
